package com.xinruke.hostels.reservation.interfaces.dto.pms;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Chenry
 * @ClassName MeetingBookingInfoHuichangDetailDto
 * @date：2019/7/20
 * @version: V1.0.0
 * @description：
 */
@ApiModel(value = "会议订单会场明细提交DTO")
@Data
public class MeetingBookingInfoHuichangDetailDto {


    /**
     * 会议室类型：见字典huichangleixing
     */
    @ApiModelProperty(value = "会议室类型：字典编码：huichangleixing", required = true)
    @NotNull(message = "huichangleixing：不能为空")
    private Integer huichangleixing;


    /**
     * 会议室类型名称
     */
    @ApiModelProperty(value = "会议室类型名称", required = true)
    @NotNull(message = "huichangleixingmingcheng：不能为空")
    private String huichangleixingmingcheng;

    /**
     * 会场id
     */
    @ApiModelProperty(value = "会场id", required = true)
    @NotNull(message = "huichangId：不能为空")
    private Integer huichangId;

    /**
     * 会场编号
     */
    @ApiModelProperty(value = "会场编号", required = true)
    @NotNull(message = "huichangbianhao：不能为空")
    private String huichangbianhao;


    /**
     * 开始时间：格式YYYY-MM-DD HH:MM精确到分
     */
    @ApiModelProperty(value = "开始时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "开始时间不能为空")
    private Date kaishishijian;

    /**
     * 结束时间：格式YYYY-MM-DD HH:MM精确到分
     */
    @ApiModelProperty(value = "结束时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "结束时间不能为空")
    private Date jieshushijian;


    /**
     * youhuijia
     */
    @ApiModelProperty(value = "优惠价")
    private BigDecimal youhuijia;


    /**
     * 门店价
     */
    @ApiModelProperty(value = "门店价")
    private BigDecimal mendianjia;


}
